import baseurl from '../env'
import request from '../req'

// 日日保出险人(日日保和团意险共用)
export const outDangerUserInfo = async (data: any, config={}) => {
    const res = await request.get('/wesure/wesure-report-case/out-danger-user-info', { params: data, ...config })
    return res
}
// 日日保报案接口(日日保和团意险共用)
export const reportCaseDay = async (data: any, config={}) => {
    const res = await request.post('/wesure/wesure-report-case/report-case', data, config)
    return res
}

// 日日保导出
export const exportDay = async (data: any, config={}) => {
    const res = await request.get('/wesure/wesure-report-case/export', {
        params: data
    })
    return res
}

// 长期保导出
export const exportLong = async (data: any, config={}) => {
    const res = await request.get('/period-insur/report-case/export', {
        params: data
    })
    return res
}

